package com.rfid.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.rfid.common.annotation.Excel;
import com.rfid.common.core.domain.BaseEntity;

/**
 * 客户信息对象 t_customer_info
 *
 * @author ruoyi
 * @date 2020-11-09
 */
public class TCustomerInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 用户编号
     */
    //@Excel(name = "用户编号")
    private String cstno;

    //外部客户编号
    private String outCstno;

    /**
     * 用户名称
     */
    @Excel(name = "用户名称")
    private String userName;

    /**
     * 客户电话
     */
    @Excel(name = "客户电话")
    private String cusPhone;

    /**
     * $column.columnComment
     */
    @Excel(name = "客户邮箱")
    private String cusEmail;

    /**
     * 客户联系人
     */
    @Excel(name = "客户联系人")
    private String cusConcatName;

    /**
     * 客户经手人
     */
    //@Excel(name = "客户经手人")
    private String cusHandlerName;

    /**
     * 送货地址
     */
    @Excel(name = "送货地址")
    private String shippingAddress;

    /**
     * 客户状态 0正常 1禁用
     */
    //@Excel(name = "客户状态")
    private Integer status;

    /**
     * 客户类型 对应字典表customer_type
     */
   // @Excel(name = "客户类型")
    private Integer cusType;

    /**
     * 删除标志 0代表存在 2代表删除
     */
    private Integer delFlag;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setCstno(String cstno) {
        this.cstno = cstno;
    }

    public String getCstno() {
        return cstno;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }

    public void setCusPhone(String cusPhone) {
        this.cusPhone = cusPhone;
    }

    public String getCusPhone() {
        return cusPhone;
    }

    public void setCusEmail(String cusEmail) {
        this.cusEmail = cusEmail;
    }

    public String getCusEmail() {
        return cusEmail;
    }

    public void setShippingAddress(String shippingAddress) {
        this.shippingAddress = shippingAddress;
    }

    public String getShippingAddress() {
        return shippingAddress;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public Integer getCusType() {
        return cusType;
    }

    public void setCusType(Integer cusType) {
        this.cusType = cusType;
    }

    public String getCusConcatName() {
        return cusConcatName;
    }

    public void setCusConcatName(String cusConcatName) {
        this.cusConcatName = cusConcatName;
    }

    public String getCusHandlerName() {
        return cusHandlerName;
    }

    public void setCusHandlerName(String cusHandlerName) {
        this.cusHandlerName = cusHandlerName;
    }

    public String getOutCstno() {
        return outCstno;
    }

    public void setOutCstno(String outCstno) {
        this.outCstno = outCstno;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id" , getId())
                .append("cstno" , getCstno())
                .append("userName" , getUserName())
                .append("cusPhone" , getCusPhone())
                .append("cusEmail" , getCusEmail())
                .append("cusConcatName" , getCusConcatName())
                .append("cusHandlerName" , getCusHandlerName())
                .append("shippingAddress" , getShippingAddress())
                .append("status" , getStatus())
                .append("delFlag" , getDelFlag())
                .append("createTime" , getCreateTime())
                .append("updateTime" , getUpdateTime())
                .append("createBy" , getCreateBy())
                .append("updateBy" , getUpdateBy())
                .toString();
    }
}
